﻿using Ping9719.WpfEx.Mvvm;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Media;

namespace BaseUi.ViewModels
{
    public class CommonViewModel:BindableBase
    {
        /// <summary>
        /// Y轴到安全位
        /// </summary>
        private SolidColorBrush ytosafeColor = new SolidColorBrush();
        /// <summary>
        /// 安全屏蔽
        /// </summary>
        private SolidColorBrush anquanColor = new SolidColorBrush();
        /// <summary>
        /// 安全屏蔽
        /// </summary>
        private string anqunaCont = "";
        /// <summary>
        /// 自动
        /// </summary>
        private bool automatic = false;
        /// <summary>
        /// 低速，中速，高速
        /// </summary>
        private SolidColorBrush lowColor = new SolidColorBrush();
        private SolidColorBrush intermediateColor = new SolidColorBrush();
        private SolidColorBrush highColor = new SolidColorBrush();

        public SolidColorBrush ytosafe
        {
            get { return ytosafeColor; }
            set
            {
                SetProperty(ref ytosafeColor, value);
            }
        }
        public SolidColorBrush anquancolor
        {
            get { return ytosafeColor; }
            set
            {
                SetProperty(ref ytosafeColor, value);
            }
        }
        public SolidColorBrush low
        {
            get { return lowColor; }
            set
            {
                SetProperty(ref lowColor, value);
            }
        }
        public SolidColorBrush intermediate
        {
            get { return intermediateColor; }
            set
            {
                SetProperty(ref intermediateColor, value);
            }
        }
        public SolidColorBrush high
        {
            get { return highColor; }
            set
            {
                SetProperty(ref highColor, value);
            }
        }
        public bool ischeck
        {
            get { return automatic; }
            set
            {
                SetProperty(ref automatic, value);
            }
        }
        public string anquancont
        {
            get { return anqunaCont; }
            set
            {
                SetProperty(ref anqunaCont, value);
            }
        }

    }
}
